<?php
/*
 * This is home pregnancy page.
 */
include 'all.php';
$prg = true;
$menu = $_GET['menu'];
?>
<?php include '../head.php'; ?>
<head>
    <title>Pregnancy</title>
    <style>
        #title1{
            font-size: 15px;            
            text-align: center;
            font-weight: bold;
        }
    </style>
</head>

<body>
    <div id="wrapper">

        <?php include '../header_profile.php'; ?>
        <?php include '../menu_left.php'; ?>
        <div class="salus_bank_reg float_left">


            <a class="float_left" href="http://<?= $_SERVER['HTTP_HOST'] ?>/salusbaby/user" style="margin-left: 1%; margin-right: 1%;">
                <!--                    <div class="salus_bank_logo logo"></div>-->
                <img src="../../include/images/baby.png" width="104px;" height="50px;" />
                <div class="down_arrow"></div>
            </a>
            <?php
            $getme = mysql_query("select * from salus_buy_product where FK_fa_user_id='" . $_COOKIE['gid'] . "' and product_id ='1'  ") or die(mysql_error());
            if (mysql_num_rows($getme) != 0) {
                ?>
                <a class="float_left" href="http://<?= $_SERVER['HTTP_HOST'] ?>/salusme" style="margin-left: 1%; margin-right: 1%;" >
                    <img src="../../include/images/me.png" width="104px;" height="50px;" />
                </a>
            <?php }
            ?>
            <div class="clear"></div>

            <div class="float_left top_menu "><a href="?menu=imp">I'M PREGNANT</a></div>
            <div class="float_left top_menu"><a href="?menu=newinfo">NEW INFO</a></div>
            <div class="float_left top_menu"><a href="?menu=examinations">EXAMINATIONS</a></div>
            <div class="float_left top_menu"><a href="?menu=ultrasounds">ULTRASOUND</a></div>



            <div class="clear"></div>

            <div class="float_right" style="width: 210px">

        <!--        <div class="float_right top_after_menu"><a href="http://www.ndroid360.com/salus/index.php/salus_bank/gen_pdf"><img id="send_mail" src="http://www.ndroid360.com/salus/public/frontend/images/icons/send.png" title="Send Email"/></a></div>-->
               
                <div class="float_right top_after_menu"><a><img onclick="PrintElem('#mainContent')" src="../../include/images/print.png" title="Print"/></a></div>
                <div class="float_right top_after_menu"><a href="#"><img src="../../include/images/import.png" title="Import"/></a></div>
                <div class="float_right top_after_menu"  style="width: 30px"><a href=""><img src="../../include/images/edit_icon.png" title="Edit"/></a></div>
                <div class="float_right top_after_menu"><a href="#"><img src="../../include/images/new.png" title="New"/></a></div>
            </div>

            <div class="clear"></div>




            <div id="mainContent">
                <hr>
                <?php
                if ($menu == 'imp') {
                    include '../preg/imp.php';
                } elseif ($menu == 'newinfo') {
                    include '../preg/newinfo.php';
                } elseif ($menu == 'examinations') {
                    include '../preg/examinations.php';
                } elseif ($menu == 'ultrasounds') {
                    include '../preg/ultras.php';
                } else {
                    include '../preg/default.php';
                }
                ?>




            </div>

        </div><!-- wrapper over    -->

        <?php
        include '../../include/config.php';
        include '../menu_right_preg.php';
        ?>
</body>
</html>